package com.shop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("system")
public class SystemPageController {

/*    @RequestMapping("upload")
    public String upload(){
        return "upload.html";
    }*/

    @RequestMapping("category")
    public String category(){
        return "system/category.html";
    }

    @RequestMapping("product")
    public String product(){
        return "system/product.html";
    }

    @RequestMapping("index")
    public String index(){
        return "system/index.html";
    }

    @RequestMapping("login")
    public String login(){
        return "system/login.html";
    }

    @RequestMapping("user")
    public String user(){return "system/user.html";}

    @RequestMapping("admin")
    public String admin(){return "system/admin.html";}

    @RequestMapping("checkout")
    public String checkout(){return "system/checkout.html";}








}
